package org.train.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.train.entity.ProjectPo;
import org.train.entity.ReportPo;

import java.util.List;
import java.util.Map;

@Repository
public interface ReportDao extends BaseMapper<ReportPo>{
    Page<ReportPo> queryAllInfos(IPage<ReportPo> page, String search);
    //List<Map<String, Object>> queryAllInfos(Integer year);
    Map<String, Object> queryDetail(Integer id);
}
